package com.xjrsoft.module.iot.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

import com.xjrsoft.common.model.base.AuditEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author tzx
 * @since 2024-04-10
 */
@TableName("xjr_iot_link")
@ApiModel(value = "IotLink对象", description = "")
@Data
@EqualsAndHashCode(callSuper = false)
public class IotLink extends AuditEntity implements Serializable {

    private static final long serialVersionUID = 1L;

      private Long id;

      @ApiModelProperty("链接名称")
      private String name;

      @ApiModelProperty("协议类型")
      private Integer protocolType;

      @ApiModelProperty("物联网数据源地址")
      private String hostUrl;

      @ApiModelProperty("账户")
      private String username;

      @ApiModelProperty("密码")
      private String password;

      @ApiModelProperty("客户端id")
      private String clientId;

      @ApiModelProperty("订阅主题")
      private String topic;

      @ApiModelProperty("备注")
      private String remark;

      @ApiModelProperty("排序")
      private Integer sortCode;

}
